package com.juyu.miliao.api.dao.mysql;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.springframework.stereotype.Repository;

import com.juyu.miliao.api.domain.CoinPrice;

import javax.annotation.Resource;

@Repository
public class CoinPriceDao {
	@Resource
	private SqlSession sqlSession;
	
	public List<CoinPrice> getCoinPriceList(){
		return sqlSession.selectList("getCoinPriceList");
	}

//	public CoinPrice getCoinPriceById(int coinId){
//		return sqlSession.selectOne("getCoinPriceById", coinId);
//	}

}
